package com.huayun.plugin.materialSetting.domain;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "partMaterialInfo")
public class PartMaterialInfo {
    @Id
    private String _id;
    private String partDocId;
    private String partDocName;
    private String materialNumber;

    public String getId() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getPart_id() {
        return partDocId;
    }

    public void setPart_id(String partDocId) {
        this.partDocId = partDocId;
    }

    public String getPart_name() {
        return partDocName;
    }

    public void setPart_name(String partDocName) {
        this.partDocName = partDocName;
    }

    public String getMaterial_number() {
        return materialNumber;
    }

    public void setMaterial_number(String materialNumber) {
        this.materialNumber = materialNumber;
    }

    @Override
    public String toString() {
        return "partMaterialInfo{" +
                "_id='" + _id + '\'' +
                ", partDocId='" + partDocId + '\'' +
                ", partDocName='" + partDocName + '\'' +
                ", materialNumber='" + materialNumber + '\'' +
                '}';
    }
}
